<ion-view view-title="个人中心" class="xg-account-view">
  <ion-content class="xg-account-content">
    <div class="xg-account-head-pic row">
      <div class="col-50">
        <div class="xg-account-img-table">
          <div class="xg-account-img-cell">
            <img ng-if="staff1.sex==1" src="img/home/manhead.png" alt="头像" class="xg-head-pic">
            <img ng-if="staff1.sex==0" src="img/home/womanhead.png" alt="头像" class="xg-head-pic">
          </div>
        </div>
      </div>
      <div class="col-50">
        <div class="xg-account-remind-table">
          <div class="xg-account-remind-cell">
            <p>自定票数：<span ng-bind="staff1.owncount"></span> 张</p>
            <p>亲属订票：<span ng-bind="staff1.relativecount">16</span> 张</p>
            <p>退票次数：<span ng-bind="staff1.refundcount"></span> 次</p>
          </div>
        </div>
      </div>
    </div>
    <div class="xg-account-head-pic2 row">
      <div class="col-33">
        <a href="#/modifyStaff">
          <span class="ion-ios-compose-outline"></span><p>编辑资料</p>
        </a>
      </div>
      <div class="col-33"></div>
      <div class="col-33" ng-click="logout()">
        <a>
          <span class="ion-ios-redo-outline"></span><p>退出登录</p>
        </a>
      </div>
    </div>
    <ion-list class="xg-account-ul float-fix">
      <ion-item class="item-remove-animate item-avatar item-icon-right xg-account-item">
        <div class="xg-account-icon">
          <span class="ion-ios-person"></span>
        </div>
        <div class="xg-account-info">
          <p>姓名</p>
          <p ng-bind="staff1.name"></p>
        </div>
      </ion-item>
      <ion-item class="item-remove-animate item-avatar item-icon-right xg-account-item">
        <div class="xg-account-icon">
          <span class="ion-ios-telephone"></span>
        </div>
        <div class="xg-account-info">
          <p>手机号</p>
          <p ng-bind="staff1.phone"></p>
        </div>
      </ion-item>
      <ion-item class="item-remove-animate item-avatar item-icon-right xg-account-item">
        <div class="xg-account-icon">
          <span class="ion-ios-calendar-outline"></span>
        </div>
        <div class="xg-account-info">
          <p>员工号</p>
          <p ng-bind="staff1.number"></p>
        </div>
      </ion-item>
      <ion-item class="item-remove-animate item-avatar item-icon-right xg-account-item">
        <div class="xg-account-icon">
          <span class="ion-ios-pricetag"></span>
        </div>
        <div class="xg-account-info">
          <p>科室</p>
          <p ng-bind="staff1.departmentname"></p>
        </div>
      </ion-item>

      <ion-item class="item-remove-animate item-avatar item-icon-right xg-account-item" type="item-text-wrap"  href="#/my_family">
        <div class="xg-account-icon">
          <span class="ion-ios-people"></span>
        </div>
        <div class="xg-account-info">
          <p>我的亲属</p>
          <p><strong style="color:#FE3265">点击</strong>查看详情</p>
        </div>
      </ion-item>
      <ion-item ng-hide="true" class="item-remove-animate item-avatar item-icon-right xg-account-item" type="item-text-wrap"  href="#/my_tickets">
        <div class="xg-account-icon">
          <span class="ion-ios-browsers"></span>
        </div>
        <div class="xg-account-info">
          <p>退票记录</p>
          <p><strong style="color:#FE3265">点击</strong>查看详情</p>
        </div>
      </ion-item>
    </ion-list>
  </ion-content>
</ion-view>
